/*************************************************************************
 > File Name: monolith/interface/inference/common.h
 > Author: dzhang
 > Mail: dong.zhang@ingenic.com
 > Created Time : Sun 17 Jan 2021 10:43:41 PM CST
 > Description:
 ************************************************************************/

#ifndef _MONOLITH_INTERFACE_INFERENCE_COMMON_H
#define _MONOLITH_INTERFACE_INFERENCE_COMMON_H
#pragma once
#include "monolith/core/macros.h"
CC_NAME_SPACE_BEGIN

typedef struct Box {
    float lx;
    float ly;
    float rx;
    float ry;
    float score;
} Box;

enum class NMSType {
    hard_nms, blending_nms
};

struct FaceInfo {
    int32_t time_stamp;
    Box box;
    float dis;
    std::string name;
    std::string attr;
};

CC_NAME_SPACE_END

#endif //MONOLITH_INTERFACE_INFERENCE_COMMON_H
